package com.yh.travel.route.dao;

import com.yh.travel.core.dao.ICrudDao;
import com.yh.travel.route.pojo.Category;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName CategoryDao
 * @Description Dao
 * @Author 0715-YuHao
 * @Date 2020/10/31 12:18
 */
public interface CategoryDao extends ICrudDao<Category> {

    @Select("SELECT * FROM tab_category WHERE id_=#{id}")
    Category findById(Integer id);
}
